/** 
Copyright (c) 2010, Sheikh Abdul Wahid Ahmed
Details @ http://extremecodeworld.codeplex.com/license
**/

using System;



namespace EXtremecode.Common
{
	/// <summary>
	/// Summary description for Constants.
	/// </summary>
	public class Constants
	{
		
		public static readonly string UD_TYPE="UDType";
		public static readonly string KEY_IGNORE_CONCURRENCY="IgnoreConcurrency";
		public static readonly string NOT_PERSISTED="Not persisted";
		public static readonly string NEED_TO_REFRESH="NeedToRefresh";
		public static readonly string CONNECTION_ID="ConnectionId";
		public static readonly string VIEW_NAME="ViewName";
		public static readonly string USER_PROFILE="UserProfile";

		public class UDTypes
		{
			public const string TEXT= "text";
			public const string BINARY="binary";
			public const string SHORT_BINARY="shortbinary";
			public const string INT="int";
			public const string DECIMAL="decimal";
			public const string SHORT="short";
			public const string LONG="long";
			public const string DATE_TIME="datetime";
			public const string BIT="bit";
			public const string DOUBLE="double";
			public const string BYTE="byte";
			public const string SINGLE="float";

		}
		public class ColumnNames_Connections
		{
			public const string NAME="name";
			public const string CONNECTION_STRING="connectionString";
			public const string TYPE="type";
			public const string IS_DEFAULT="isDefault";
			public const string OFFLINE="offline";
			public const string ENCRYPTED="encrypted";
			
		}

		public class ColumnSuffix
		{
			public const string TO="__to";
			public const string FROM="__from";
		}

        public class ParamCustomType
        {
            public const string CONDITIONAL = "Cond";
        }
		
	}
}
